package com.yoda.mall.mysql.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yoda.mall.model.entity.sms.HomeBrand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shawn
 * @date 2022年 12月 16日 22:24
 */
public interface HomeBrandMapper extends BaseMapper<HomeBrand> {
    Integer saveBatch(List<HomeBrand> homeBrands);

    void updateBatchById(@Param("ids") List<Long> ids ,@Param("recommendStatus") Integer recommendStatus);
}
